using Catastrophe.Common.AttributeEx;
using Catastrophe.Initialize;

namespace Catastrophe.BasePC.UI.Model
{
	/// <summary>
	/// 
	/// </summary>
	[UserAuthorityTemplate]
	public class BaseUserAuthorityDetailEntity : IUserAuthorityTemplate
	{
		[TreeNode(28, -1, "编码管理")]
		public AuthorityConfig EncodeManager { get; set; } = new AuthorityConfig();


		[TreeNode(29, 28, "新增")]
		public AuthorityConfig EncodeAdd { get; set; } = new AuthorityConfig();


		[TreeNode(30, 28, "删除")]
		public AuthorityConfig EncodeDelete { get; set; } = new AuthorityConfig();


		[TreeNode(31, 28, "修改")]
		public AuthorityConfig EncodeEdit { get; set; } = new AuthorityConfig();


		[TreeNode(75, -1, "用户管理")]
		public AuthorityConfig UserManager { get; set; } = new AuthorityConfig();


		[TreeNode(76, 75, "新增")]
		public AuthorityConfig UserAdd { get; set; } = new AuthorityConfig();


		[TreeNode(77, 75, "删除")]
		public AuthorityConfig UserDelete { get; set; } = new AuthorityConfig();


		[TreeNode(78, 75, "修改")]
		public AuthorityConfig UserEdit { get; set; } = new AuthorityConfig();


		[TreeNode(79, 75, "用户权限")]
		public AuthorityConfig UserPower { get; set; } = new AuthorityConfig();


		[TreeNode(80, 75, "用户权限模板管理")]
		public AuthorityConfig UserPowerTemplateManager { get; set; } = new AuthorityConfig();


		[TreeNode(86, -1, "参数配置")]
		public AuthorityConfig ParamManager { get; set; } = new AuthorityConfig();


		[TreeNode(87, 86, "参数配置_文件")]
		public AuthorityConfig ParamFile { get; set; } = new AuthorityConfig();


		[TreeNode(88, 86, "参数配置_DB")]
		public AuthorityConfig ParamDb { get; set; } = new AuthorityConfig();


		[TreeNode(166, -1, "功能菜单管理")]
		public AuthorityConfig BaseMenuNode { get; set; } = new AuthorityConfig();


		[TreeNode(167, 166, "新增")]
		public AuthorityConfig BaseMenuNodeAdd { get; set; } = new AuthorityConfig();


		[TreeNode(168, 166, "删除")]
		public AuthorityConfig BaseMenuNodeDelete { get; set; } = new AuthorityConfig();


		[TreeNode(169, 166, "编辑")]
		public AuthorityConfig BaseMenuNodeEdit { get; set; } = new AuthorityConfig();


		public AuthorityConfig MenuEdit { get; set; } = new AuthorityConfig();


		[TreeNode(170, 166, "设置站号")]
		public AuthorityConfig SetStationNo { get; set; } = new AuthorityConfig();


		[TreeNode(171, 166, "重排")]
		public AuthorityConfig MenuSort { get; set; } = new AuthorityConfig();

	}
}
